<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="user" value="${sessionScope.CURRENT_USER}" />
<%
    String basePath = request.getContextPath();
%>
<html>
<head>
    <title>Maic Main</title>
    <%@ include file="libraries.jsp" %>
    <script type="text/javascript">var basePath = "<%=basePath%>"; var ctx = "<%=basePath%>";</script>
    <script src="<%=basePath%>/resources/js/main.js" type="text/javascript"></script>
</head>
<body>
    Main Pages
</body>
</html>